Skip to main content

mainStacks

Type

function

Summary

Returns a list of the main stacks that are loaded into memory.

Syntax

the mainStacks
mainStacks()

Description

Use the mainStacks function to find out which main stack|main stacks are currently available.

Stacks that have not yet been saved are included in the list.

The list includes stacks that are part of the LiveCode development environment (such as the message box and menu bar).

Examples

the mainStacks
repeat while myStack is among the lines of the mainStacks

function: stacks, openStacks, revLoadedStacks, topStack

glossary: property, main stack, return, loaded into memory

keyword: line

message: reloadStack

object: stack

property: defaultStack, substacks, mainStack, stackFiles, name

control structure: function

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?